//
//  LCUserModel.h
//  lechuang
//
//  Created by Mr_hi on 2023/3/25.
//  Copyright © 2023 Mooyi. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class LCUserAmountModel,LCUserAssetsModel,LCUserShareModel,LCUserSecurityModel,LCUserAlipayModel,LCUserBusinessModel;

@interface LCUserModel : NSObject
//用户id
@property (nonatomic , copy) NSString *userid;
//邀请人id
@property (nonatomic , copy) NSString *sourceid;
//邀请人数
@property (nonatomic , copy) NSString *chsnumber;
//登录标识
@property (nonatomic , copy) NSString *usertokey;
//代理级别
@property (nonatomic , copy) NSString *businessid;
//代理名称
@property (nonatomic , copy) NSString *businessname;
//代理折扣
@property (nonatomic , copy) NSString *businessrate;

//卡商折扣
@property (nonatomic , copy) NSString *cardrate;
//卡商折扣
@property (nonatomic , copy) NSString *cardpoint;


//账号-手机号
@property (nonatomic , copy) NSString *username;
//昵称
@property (nonatomic , copy) NSString *nickname;
//头像
@property (nonatomic , copy) NSString *userthumb;
//手机号
@property (nonatomic , copy) NSString *usermobile;
//今日收益
@property (nonatomic , copy) NSString *todayreword;
//总收益
@property (nonatomic , copy) NSString *rewardtotal;
//任务收益
@property (nonatomic , copy) NSString *rewardamount;
//任务次数
@property (nonatomic , copy) NSString *rewardtimer;
//提现次数
@property (nonatomic , copy) NSString *alipaytimer;
//已提现金额
@property (nonatomic , copy) NSString *alipayamount;

//用户资产
@property (nonatomic , strong) LCUserAssetsModel *assets;
//账户安全信息  密码和交易密码
@property (nonatomic , strong) LCUserSecurityModel *security;

//支付宝绑定信息
@property (nonatomic , strong) LCUserAlipayModel *alipay;

//分享地址
@property (nonatomic , strong) LCUserShareModel *share;

//代理信息
@property (nonatomic , strong) LCUserBusinessModel *business;

@end

@interface LCUserAssetsModel : NSObject

@property (nonatomic , strong) LCUserAmountModel *UserAmount;

@end

@interface LCUserAmountModel : NSObject
//账户名称
@property (nonatomic , copy) NSString *name;
//账户单位
@property (nonatomic , copy) NSString *unit;
//账户余额
@property (nonatomic , copy) NSString *value;

@end

@interface LCUserSecurityModel : NSObject
//是否设置密码
@property (nonatomic , copy) NSString *password;
//资金密码
@property (nonatomic , copy) NSString *passwordto;

@end

@interface LCUserAlipayModel : NSObject

@property (nonatomic , copy) NSString *bankid;
@property (nonatomic , copy) NSString *alipaychar;
@property (nonatomic , copy) NSString *alipayname;

@end


@interface LCUserShareModel : NSObject

@property (nonatomic , copy) NSString *url;
@property (nonatomic , copy) NSString *qrcode;
@property (nonatomic , copy) NSString *code;

@end

@interface LCUserBusinessModel : NSObject
//代理ID
@property (nonatomic , copy) NSString *businessid;
//代理名称
@property (nonatomic , copy) NSString *businessname;
//上级代理ID   0为一级代理
@property (nonatomic , copy) NSString *parentid;

@end



NS_ASSUME_NONNULL_END
